[DllImport("advapi32.dll", EntryPoint = "QueryServiceStatus", CharSet = CharSet.Auto)]
public static extern bool QueryServiceStatus(IntPtr hService,ref SERVICE_STATUS dwServiceStatus);
<Runtime.InteropServices.DllImport("advapi32.dll", CharSet:=Runtime.InteropServices.CharSet.Auto, SetLastError:=True)> _
Public Shared Function QueryServiceStatus(ByVal hService As IntPtr, ByRef dwServiceStatus As SERVICE_STATUS) As Boolean
End Function
Declare Function QueryServiceStatus Lib "advapi32.dll" (TODO) As TODO
None.
See SERVICE_STATUS definition.
See OpenService to get the hService.
Please add some!
Please add some!
Do you know one? Please contribute it!